﻿using Elasticsearch.Synchronize.Domain.Aggregates.SynchronizeAggregate;
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Elasticsearch.Synchronize.Domain.Events
{
    public class AddRuleItemDomainEvent : INotification
    {
        public AddRuleItemDomainEvent(SynchronizeRule synchronizeRule, DateTime createTime)
        {
            this.SynchronizeRule = synchronizeRule;
            this.CreateTime = createTime;
        }

        public SynchronizeRule SynchronizeRule { get; }

        public DateTime CreateTime { get; }
    }
}
